<%-- 
    Document   : index2
    Created on : 11-mei-2014, 19:30:29
    Author     : Ewoud And Anneleen
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
         
        <div>
            
            <form action="NewItemServlet" method="POST">
                <table border="1">
                     <thead>
                        <tr>
                            <th colspan="2">Add Item</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>Name</td>
                            <td><input type="text" name="name" value="" size="20" /></td>
                        </tr>
                        <tr>
                            <td>Price</td>
                            <td><input type="number" step="0.01" min="0" name="price" value="1" size="10" width="10"/></td>
                        </tr>
                        <tr>
                            <td>Description</td>
                            <td><textarea name="description" rows="2" cols="16"></textarea></td>
                        </tr>
                        <tr>
                            <td>Type</td>
                            <td><select name="type">
                                    <option value="BREAD">BREAD</option>
                                    <option value="PASTRY">PASTRY</option>
                                    <option value="PIE">PIE</option>
                                    <option value="CAKE">CAKE</option>
                                    <option value="PREPARED_SANDWICHE"></option>
                                </select></td>
                        </tr>
                        <tr>
                            <td colspan="2" ><input type="submit" value="Submit" /></td>
                        </tr>
                    </tbody>
                </table>

            </form>
        </div>
    </body>
</html>